<!-- 课程维护 Modal -->
<div class="modal fade" id="courseMgmtModal" tabindex="-1" aria-labelledby="courseMgmtLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="courseMgmtLabel">
                    <i class="bi bi-journal-bookmark-fill me-2"></i>课程维护
                </h5>
                <span id="courseMgmtMsg" class="text-danger ms-3" style="display:none; font-size:0.9rem;"></span>
                <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
            </div>
            <div class="modal-body">
                <!-- 搜索/预留区（可选） -->
                <!-- 列表 -->
                <div class="list-scroll-container">
                    <table class="table table-hover align-middle text-center flex-grow-1" id="course-table">
                        <thead>
                        <tr>
                            <th style="width:40%;">课程名</th>
                            <th style="width:60%;">操作</th>
                        </tr>
                        </thead>
                        <tbody id="course-tbody">
                        <!-- 动态渲染 -->
                        </tbody>
                    </table>
                </div>
                <!-- 添加按钮固定在底部 -->
                <div class="mt-auto text-center py-3">
                    <button id="add-course-btn" class="btn btn-outline-primary">
                        <i class="bi bi-plus-lg"></i> 添加课程
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
